{"ast":null,"code":"const genFormValidateMotionStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const helpCls = `${componentCls}-show-help`;\n  const helpItemCls = `${componentCls}-show-help-item`;\n  return {\n    [helpCls]: {\n      // Explain holder\n      transition: `opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`,\n      '&-appear, &-enter': {\n        opacity: 0,\n        '&-active': {\n          opacity: 1\n        }\n      },\n      '&-leave': {\n        opacity: 1,\n        '&-active': {\n          opacity: 0\n        }\n      },\n      // Explain\n      [helpItemCls]: {\n        overflow: 'hidden',\n        transition: `height ${token.motionDurationSlow} ${token.motionEaseInOut},\n                     opacity ${token.motionDurationSlow} ${token.motionEaseInOut},\n                     transform ${token.motionDurationSlow} ${token.motionEaseInOut} !important`,\n        [`&${helpItemCls}-appear, &${helpItemCls}-enter`]: {\n          transform: `translateY(-5px)`,\n          opacity: 0,\n          [`&-active`]: {\n            transform: 'translateY(0)',\n            opacity: 1\n          }\n        },\n        [`&${helpItemCls}-leave-active`]: {\n          transform: `translateY(-5px)`\n        }\n      }\n    }\n  };\n};\nexport default genFormValidateMotionStyle;","map":{"version":3,"names":["genFormValidateMotionStyle","token","componentCls","helpCls","helpItemCls","transition","motionDurationSlow","motionEaseInOut","opacity","overflow","transform"],"sources":["/data/messenger.client/node_modules/antd/es/form/style/explain.js"],"sourcesContent":["const genFormValidateMotionStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const helpCls = `${componentCls}-show-help`;\n  const helpItemCls = `${componentCls}-show-help-item`;\n  return {\n    [helpCls]: {\n      // Explain holder\n      transition: `opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`,\n      '&-appear, &-enter': {\n        opacity: 0,\n        '&-active': {\n          opacity: 1\n        }\n      },\n      '&-leave': {\n        opacity: 1,\n        '&-active': {\n          opacity: 0\n        }\n      },\n      // Explain\n      [helpItemCls]: {\n        overflow: 'hidden',\n        transition: `height ${token.motionDurationSlow} ${token.motionEaseInOut},\n                     opacity ${token.motionDurationSlow} ${token.motionEaseInOut},\n                     transform ${token.motionDurationSlow} ${token.motionEaseInOut} !important`,\n        [`&${helpItemCls}-appear, &${helpItemCls}-enter`]: {\n          transform: `translateY(-5px)`,\n          opacity: 0,\n          [`&-active`]: {\n            transform: 'translateY(0)',\n            opacity: 1\n          }\n        },\n        [`&${helpItemCls}-leave-active`]: {\n          transform: `translateY(-5px)`\n        }\n      }\n    }\n  };\n};\nexport default genFormValidateMotionStyle;"],"mappings":"AAAA,MAAMA,0BAA0B,GAAGC,KAAK,IAAI;EAC1C,MAAM;IACJC;EACF,CAAC,GAAGD,KAAK;EACT,MAAME,OAAO,GAAI,GAAED,YAAa,YAAW;EAC3C,MAAME,WAAW,GAAI,GAAEF,YAAa,iBAAgB;EACpD,OAAO;IACL,CAACC,OAAO,GAAG;MACT;MACAE,UAAU,EAAG,WAAUJ,KAAK,CAACK,kBAAmB,IAAGL,KAAK,CAACM,eAAgB,EAAC;MAC1E,mBAAmB,EAAE;QACnBC,OAAO,EAAE,CAAC;QACV,UAAU,EAAE;UACVA,OAAO,EAAE;QACX;MACF,CAAC;MACD,SAAS,EAAE;QACTA,OAAO,EAAE,CAAC;QACV,UAAU,EAAE;UACVA,OAAO,EAAE;QACX;MACF,CAAC;MACD;MACA,CAACJ,WAAW,GAAG;QACbK,QAAQ,EAAE,QAAQ;QAClBJ,UAAU,EAAG,UAASJ,KAAK,CAACK,kBAAmB,IAAGL,KAAK,CAACM,eAAgB;AAChF,+BAA+BN,KAAK,CAACK,kBAAmB,IAAGL,KAAK,CAACM,eAAgB;AACjF,iCAAiCN,KAAK,CAACK,kBAAmB,IAAGL,KAAK,CAACM,eAAgB,aAAY;QACvF,CAAE,IAAGH,WAAY,aAAYA,WAAY,QAAO,GAAG;UACjDM,SAAS,EAAG,kBAAiB;UAC7BF,OAAO,EAAE,CAAC;UACV,CAAE,UAAS,GAAG;YACZE,SAAS,EAAE,eAAe;YAC1BF,OAAO,EAAE;UACX;QACF,CAAC;QACD,CAAE,IAAGJ,WAAY,eAAc,GAAG;UAChCM,SAAS,EAAG;QACd;MACF;IACF;EACF,CAAC;AACH,CAAC;AACD,eAAeV,0BAA0B"},"metadata":{},"sourceType":"module"}